import request from '@/utils/request'

// 查询学习内容审核列表
export function listLeaningContentReview(query) {
  return request({
    url: '/examine/leaningContentReview/list',
    method: 'get',
    params: query
  })
}

// 查询学习内容审核详细
export function getLeaningContentReview(id) {
  return request({
    url: '/examine/leaningContentReview/' + id,
    method: 'get'
  })
}

// 新增学习内容审核
export function addLeaningContentReview(data) {
  return request({
    url: '/examine/leaningContentReview',
    method: 'post',
    data: data
  })
}

// 修改学习内容审核
export function updateLeaningContentReview(data) {
  return request({
    url: '/examine/leaningContentReview',
    method: 'put',
    data: data
  })
}

// 删除学习内容审核
export function delLeaningContentReview(id) {
  return request({
    url: '/examine/leaningContentReview/' + id,
    method: 'delete'
  })
}
